<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:69:"D:\Code\matian\matian\application\admin\view\bootstrap\widget\op.html";i:1492154510;}*/ ?>
<select name="<?php echo $name; ?>" class="form-control" <?php echo !empty($required)?'required':''; echo $htmlAttr; ?>>
    <?php if(!empty($hasEmpty)): ?>
    <option value="">--请选择--</option>
    <?php endif; if(is_array($options)): $i = 0; $__LIST__ = $options;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
        <option value="<?php echo $key; ?>" <?php echo ($value==$key&&$value!=='')?'selected="selected"':''; ?>><?php echo trim(strip_tags($vo)); ?></option>
    <?php endforeach; endif; else: echo "" ;endif; ?>
</select>